<?
//<meta http-equiv="content-type" content="text/html; charset=utf-8">
include "head.php";
?>
<script language="javascript">
function process(url) {
	if(confirm('are you sure?')) {
		window.open(url, "processing", "status=no,toolbar=no,scrollbars=no,width=640,height=480");		
	} 
}
</script>
<p><a href="index.php">HOME</a> / <strong>Temporary concept</strong></p>
<p><u>Concept</u></p>
<ol>
<?
$query = "select b.* from {$table_prefix}temporary_concept a join {$table_prefix}concept b on (b.cui = a.cui)";
$result = mysql_query($query) or die("\n<br>Query:$query\n<br>Error:".mysql_error());
while ( $row = mysql_fetch_array($result) ) {
?>
  <li><?=$row['cui']?> <?=$row['str']?></li>
<?
}
?>
</ol>
<p>
<form name="form1" method="get" target="_blank" action="temporary_concept_process.php">
<input type="hidden" name="cmd" value="make_subset">
<input type="checkbox" name="adding_connective_concept" id="adding_connective_concept" value="1"/>
<label for="adding_connective_concept">adding_connective_concept</label>
<br />
<input type="checkbox" name="adding_rel_rn" id="adding_rel_rn" value="1"/>
<label for="adding_rel_rn">adding_rel_rn</label>
<br />
<input name="query_subset" id="query_subset" type="text" size="32" maxlength="64" title="subset name">
<br />
<input type="submit" name="Button" value="Make subset">
<input type="button" name="Button" value="Reset" onClick="process('temporary_concept_process.php?cmd=init')">
</form>
</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<?
include "tail.php"
?>